import React from 'react'

export default function RouteComp2(props) {
  return (
    <div>
      <h2>RouteComp2</h2>
      <p>params.count1: {props.match.params.count1}</p>
      <p>query.count2: {props.location.search}</p>
      <p>state.count4: {props.location.state && props.location.state.count4}</p>
    </div>
  )
}
